package com.by.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.by.course.entity.bo.BaseSchedule;
import com.by.course.entity.vo.schedule.req.GetBaseScheduleVO;
import com.by.course.entity.vo.schedule.resp.BaseScheduleResultVO;

import java.util.List;

public interface BaseScheduleMapper extends BaseMapper<BaseSchedule> {

    int insertSelective(BaseSchedule record);

    int updateByPrimaryKeySelective(BaseSchedule record);

    List<BaseSchedule> selectBaseScheduleByUserId(Long teacherId);

    Integer countQuerySchedule(GetBaseScheduleVO vo);

    List<BaseScheduleResultVO> querySchedule(GetBaseScheduleVO vo);

    List<BaseSchedule> selectScheduleByTeacherIdList(List<Long> teacherIdList);
}